<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/30
 * Time: 11:06
 */

namespace verdor\core;


class integralOrder extends order
{
    public function __construct($userid)
    {
        echo '<br />';
        echo 'integral:';
        //继承父类构造函数并传值
        parent::__construct(1,$userid);
    }
    public function createOrder(){
        parent::createOrder();
        echo '1';
    }
    public static function pay(){
        order::pay();
        echo ':积分支付<br />';
        echo '支付时间:'.order::$time;
    }
    public function __destruct()
    {
        echo '<br />';
        echo 'inergralOrder已清除';
        echo '<br />';
    }
}